
function home(type) {
	if(type == 1) {
		window.location.href = 'index';
	} else if(type == 2) {
		window.location.href = 'comments';
	} else if(type == 3) {
		window.location.href = '../client/cart';
	} else if(type == 4) {
		window.location.href = 'easyLife?index=0';
	} else {
		window.location.href = 'personal';
	}

}
$(function(){
	$('body').css('background', '#FFFFFF');
	$("#tabbar").html($("#tabbar").html()+"<ul class='uul'>"
				+"<li>"
					+"<a href='#' onclick='home(1)'><img src='http://localhost:8080/shop/static/shopcartstatic/images/1.png' id='homes'/><br />首页</a>"
				+"</li>"
				+"<li>"
					+"<a href='#' onclick='home(2)'><img src='http://localhost:8080/shop/static/shopcartstatic/images/2.png' id='video'/><br />评论</a>"
				+"</li>"
				+"<li>"
					+"<a href='#' onclick='home(3)'><img src='http://localhost:8080/shop/static/shopcartstatic/images/3.png' id='mistiming'/><br />购物车</a>"
				+"</li>"
				+"<li>"
					+"<a href='#' onclick='home(4)'><img src='http://localhost:8080/shop/static/shopcartstatic/images/4.png' id='easyLife'/><br />商品</a>"
				+"</li>"
				+"<li>"
					+"<a href='#' onclick='home(5)'><img src='http://localhost:8080/shop/static/shopcartstatic/images/5.png' id='personal'/><br />我的</a>"
				+"</li>"
			+"</ul>");
			
})
